<?php echo $header; ?>

<div id="content" class="bestilPage">
    <div class="columnAll">
        <?php if($products){ ?>
            <ul class="listItem">
                <?php foreach ($products as $product) { ?>
                    <li>
                        <div class="wrapImg"> <img src="<?php echo $product['thumb'] ?>" alt="<?php echo $product['name'] ?>" /></div>
                        <div class="wrapDec">
                            <h3><?php echo $product['name'] ?></h3>
                            <p><?php echo $product['description'] ?></p>
                        </div>
                        <div class="wrapPriceAdd">
                            <a class="bntAdd<?php echo in_array($product['product_id'], $cart_items) ? ' added' : '' ?>" href="javascript:void(0);" onclick="addToCart('<?php echo $product['product_id'] ?>')"><img src="<?php echo $template ?>images/bntAdd.png"></a>
                            <span class="price"><?php echo $product['price'] ?></span>
                        </div>
                    </li>
                <?php } ?>
            </ul>
        <?php } ?>
    </div>
</div>
<!--End #content-->

<script type="text/javascript"><!--

//--></script>

<?php echo $footer; ?>